//
//  Command.h
//  ImageAnimation
//
//  Created by apple on 5/11/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum {
    MovingDirectionLeft,
    MovingDirectionTop,
    MovingDirectionRight,
    MovingDirectionBottom,
} 
MovingDirection;

@interface MovingCommand : NSObject

- (void)addDirection:(MovingDirection)movingDirection;
- (BOOL)canMoveToPreiousDriection;
- (MovingDirection)getNextDirection;
- (MovingDirection)getPreviousDirection;
- (void)clearMovingCommand;
@end
